package com.mazaiting.socket.client.entity;

/**
 * 客户端配置
 *
 * @author mazaiting
 * @create_time 2022/4/18 18:47
 */
public class ClientConfig {

    /**
     * IP
     */
    private String ip;

    /**
     * 连接端口
     */
    private Integer port;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "/" + ip + ":" + port;
    }
}
